Column Sorting

Each column must be sorted by a given column. Sorting can also be applied in the Data Flow; this type of sorting is stored in the database schema. Sorting applied from the Columns panel, however, is executed at runtime.

By default, each column is sorted by itself. However, each column can be sorted by any column within its table. If the sorting column is text-based, the sorted column will be sorted in alphabetical order. If the sorting column is numeric, the sorted column will be sorted from in increasing order.

How to Sort Columns

Each column's sorting is displayed in the Sort column. By default, each column is sorted by itself.

You can change the sorting for a given column from the Sort drop-down list. The Sort drop-down exposes all columns in the current table; each column may be sorted by any other column from the same table.

Sorting by a Different Column

there are many scenarios in which it's preferable to sort by a different column. For example, certain time intelligence columns are not sorted by themselves. Columns like Full Quarter, Full Month Name, and Weekday Name must be sorted by numeric columns that contain the start dates or numeric values.

Another example may be sorting customers by their purchases, in order to get a list of customers ordered from most purchases to least purchases.